package com.qianfeng.plateform2203.zuul.mq;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;

public interface ReceviedAPIRoutingChangeStream {
    @Input("apiroutingchange")//声明当前是消费者,监听是是apiroutingchange交换机,spring 会自动帮我们创建消息队列并绑定到交换机上
    SubscribableChannel subscribable_channel();
}
